<?php

namespace app\api\validate;

use think\Validate;

class PreceptEdit extends Validate
{
    protected $rule = [
        "id" => "require",
        "precept_title" => "require",
        "precept_images" => "require",
    ];

    protected $message = [
        'id.require' => '请选择方案',
        'precept_title.require' => '请输入方案内容',
        'precept_images.require' => '清上传方案图片',
    ];

}